package com.github.dunr;

public class Demo {
    public static void main(String[] args) {
        int i = 155055;

        System.out.println((i & 0xff000000)>>3*8);
        System.out.println((i & 0xff0000)>>>2*8);
        System.out.println((i & 0xff00)>>>1*8);
        System.out.println((i & 0xff)>>>0*8);

        System.out.println(0xff000000);
        System.out.println(0xff0000);
        System.out.println(0xff00);
        System.out.println(0xff);
        System.out.println((i & 0xff000000));
        System.out.println((i & 0xff0000));
        System.out.println((i & 0xff00));
        System.out.println((i & 0xff));
    }
}
